package com.cherish.pattern.factory.abstractf;

import com.cherish.pattern.factory.model.*;

/**
 * @Classname AppleFactory
 * @Date 2019/4/7 11:33
 * @Author admin
 * @Description TODO
 */
public class AppleFactory implements ElectronicsFactory {

    @Override
    public Phone getPhone() {
        return new iPhoneX();
    }

    @Override
    public Laptop getLaptop() {
        return new MAC();
    }
}
